package extendsexamp;

public class TCL extends TV {
    boolean d3;
    TCL(){ }
    TCL(String brand,byte size,boolean cloud){
        this.brand=brand;
        this.size=size;
        this.d3=d3;
    }
    @Override
    void output(){
      if(d3==true){
          System.out.println(""+brand+""+size+"");
      }else{
         super.output();
      }
    }
}
